package com.xuyoupeng.springframework.beans.factory.config;

import com.xuyoupeng.springframework.beans.BeansException;
import com.xuyoupeng.springframework.beans.PropertyValues;

/**
 * @author xuyoupneg
 * @description TODO
 * @date 2024/4/30 14:58
 */
public interface InstantiationAwareBeanPostProcessor extends BeanPostProcessor{

    Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName) throws BeansException;

    PropertyValues postProcessPropertyValues(PropertyValues propertyValues, Object bean, String beanName) throws BeansException;
}
